public class Class {
	int size; // the number of students allowed to register this course
	int tid; // the teacher who teach this course
	String teacherName;
	int id;
	String courseName;

	public Class(Course course, int index) {
		this.size = course.size;

		courseName = course.name;
		id = course.id * 10 + index;
		teacherName = course.teacherName;

	}

	public Class() {
		size = 0;
		tid = -1;
		teacherName = "";
		id = 0;
		courseName = "";
	}
}
